package com.qidian.by.cms.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qidian.by.pojo.Content;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 小可怎么都睡不够
 * @since 2024-05-06
 */
public interface ContentMapper extends BaseMapper<Content> {
    IPage<Content> queryDetailInfo(IPage<Content> page, @Param("content") Content content);

    void updateContent(Content content);


    List<Content> getContentListByCatMark(@Param("catMark")String catMark,@Param("count")Integer count);
}
